package admin.common.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户登录参数
 * Created by zgb on 2018/4/26.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OauthLoginParam {

    @Schema(description = "用户名", required = true)
    private String username;

    @Schema(description = "密码", required = true)
    private String password;


    @Schema(description = "授权模式", required = true)
    private String grantType;


    @Schema(description = "Oauth2客户端ID", required = true)
    private String clientId;


    @Schema(description = "Oauth2客户端秘钥", required = true)
    private String clientSecret;


    @Schema(description = "刷新token", required = true)
    private String refreshToken;


}
